/*
 * @Author: yuluo
 * @Date: 2025-08-28
 * @LastEditors: yuluo
 * @LastEditTime: 2025-09-06
 * @FilePath: \Projecte:\gitee\GD32F427\gd32-f427-BootLoader\BSP\inc\drv_led.h
 * @Description: 
 * 如有特殊注意事项请填写
 * Copyright (c) by ${yuluo}, All Rights Reserved. 
 */

#ifndef DRV_LED_H_
#define DRV_LED_H_

#define LED_GREEN_RCU RCU_GPIOF
#define LED_GREEN_PORT GPIOF
#define LED_GREEN_PIN GPIO_PIN_10

#define LED_RED_RCU RCU_GPIOF
#define LED_RED_PORT GPIOF
#define LED_RED_PIN GPIO_PIN_9

#define LED_G "led_green"
#define LED_R "led_red"

void drv_led_g_init(void);
void drv_led_g_open(void);
void drv_led_g_close(void);

void drv_led_r_init(void);
void drv_led_r_open(void);
void drv_led_r_close(void);

void led_register(void);

#endif // !DRV_LED_H_



